/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package basico;

/**
 *
 * @author afonso.rodrigues
 */
public class Contador1  {

    private int value;

    public Contador1() {
        value = 0;
    }

    public void incrementa() {
        value++;
        System.out.println(Thread.currentThread().getName() + " incremnetado!");
    }

    public int getValue() {
        return value;
    }
    
}
